package com.rachel.studyapp.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.RelativeLayout;

import com.rachel.studyapp.R;

/**
 * Created by zhengshaorui on 2017/8/18.
 */

public class testview extends RelativeLayout {
    public testview(Context context) {
        super(context);
    }

    public testview(Context context, AttributeSet attrs) {
        super(context, attrs);
        View layoutInflater = LayoutInflater.from(context).inflate(R.layout.banner_layout,null);
        //addView(layoutInflater);
    }

    public testview(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }
}
